package com.huawei.appgallery.foundation.ui.css.adapter;

import android.content.res.ColorStateList;
import android.graphics.drawable.Drawable;
import o.gg;

class DrawableTintWrap {
    DrawableTintWrap() {
    }

    public static void setTint(Drawable drawable, Object obj) {
        if (obj instanceof Integer) {
            gg.ॱ(drawable, ((Integer) obj).intValue());
        } else {
            gg.ॱ(drawable, (ColorStateList) obj);
        }
    }
}
